// house_pkg/pages/building/index.ts
Page({
  goRoom(ev) {
    wx.navigateTo({
      url: `/house_pkg/pages/room/index?point=${this.data.point}&building=${ev.mark.building}`
    })
  },
  onLoad({
    point
  }) {
    // console.log(point);
    this.setData({
      point
    })
    this.getsJ()
  },
  // 封装一个随机数的方法
  getsJ() {
    //
    const sjs = Math.floor(Math.random() * 11) + 10
    this.setData({
      size: sjs
    })
    // console.log(sjs);
  }
})